<template>
  <div id="iframe" >
    <iframe  :src="url" frameborder="0"></iframe>
  </div>
</template>

<script>
export default {
  name: "myiframe",
  data() {
    return {
      url: '',
    }
  },
  mounted() {
    let that = this;
    this.url = that.$route.query.url
  },
  created() {
    },
  watch:{
    $route(){
      this.url= this.$route.query.url
    },
    url(v){
    }
  },
  methods: {},

}
</script>

<style lang="scss" scoped>
  #iframe {
    iframe{
      width: 100%;
      height: 800px;
    }
  }
</style>
